package com.hup.utils.commons.interfaces;

/**
 * @author hugan
 * @date 2020/3/15
 */
public interface Runners {

    interface RunAndThrowable {
        void run() throws Throwable;
    }

    interface Runner1<P> {
        void run(P param);
    }

    interface Runner2<P, P2> {
        void run(P param, P2 param2);
    }

    interface Runner3<P, P2, P3> {
        void run(P param, P2 param2, P3 param3);
    }

}
